package router

import (
	"fx_swift_forex/internal/controller"
	"fx_swift_forex/pkg/middleware"
)

func ConvertRouter() {
	reqApiVer := miniApiVer.Group("convert", middleware.CheckAuth())
	{
		reqApiVer.POST("rateDetailed", controller.RateDetailed)
		reqApiVer.POST("conversions", controller.Conversions)
	}
}
